package com.cyy.admin.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 角色菜单中间表
 * author Chenyuyi
 * date 2021/12/12  13:00
 */
@Data
@Table(name = "sys_privilege")
@Entity
@ApiModel(value = "RoleMenu",description = "系统用户表")
public class RoleMenu {

    /**
     *  菜单id
     */
    @ApiModelProperty(value = "菜单id")
    @Id
    private String id;

    private String rid;

    private String mid;
}
